package com.zzl.study.demo.domain;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;

import java.util.List;

/**
 * 百度地图API接口响应
 *
 * @author: zhangzl
 * @date: 2025/10/9 16:08
 * @version: 1.0
 */
@JsonIgnoreProperties(ignoreUnknown = true)
public record BaiduMapApiResponse(@JsonProperty("status") Integer status,
                                  @JsonProperty("message") String message,
                                  @JsonProperty("total") Integer total,
                                  @JsonProperty("result_type") String resultType,
                                  @JsonProperty("query_type") String queryType,
                                  @JsonProperty("results") List<BaiduMapRegionLocation> results) {
}
